import { lazy } from 'react';
import { utils } from '@ohif/core';

const ConnectedStudyBrowser = utils.asyncComponent(lazy(() => import('./ConnectedStudyBrowser')));

export default {
  id: 'study-browser',
  version: window.version,

  getPanelModule() {
    return {
      components: [{
        id: 'study-browser',
        label: 'Study',
        component: ConnectedStudyBrowser,
        width: 136,
        height: 152,
      }],
      defaultContext: ['VIEWER'],
    };
  },
};
